package com.night.student.feignclient;

import com.night.common.entity.PageBean;
import com.night.common.entity.ResultVo;
import com.night.common.entity.administration.CourseManager;
import com.night.common.entity.student.SelectCourseManagerVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author Mr.Wang
 * @ClassName: CourseFeign
 * @Description: //TODO
 * @date: 2022/10/27-11:55
 */
@FeignClient("administration")
public interface CourseFeign {
    @PostMapping("/api/v1/courseManager/selectCourseBycondition")
    ResultVo<PageBean<List<CourseManager>>> getCourseByCondition(@RequestBody SelectCourseManagerVo selectCourseManagerVo);
}
